package hu.bme.tmit.futureinternet.model;


public class User {

	private final int ID;
	private boolean believer;
	private double trust;

	public User(int ID) {
		this.ID = ID;
		this.believer = false;
	}

	public boolean isBeliever() {
		return believer;
	}

	public void setBeliever(boolean believer) {
		this.believer = believer;
	}

	public int getID() {
		return ID;
	}

	public double getTrust() {
		return trust;
	}

	public void setTrust(double trust) {
		this.trust = trust;
	}

	public String toString() {
		return Integer.toString(getID());
	}

	public void reset() {
		setBeliever(false);
	}
}
